#include "revolFeature.h"

RevolFeature::RevolFeature()
{
    //初始值都设置成-1
    featureType = 10;
    revolId = -1;
    revolType = -1;
    resultId = -1;
    subShapeIndex = -1;
    targetFeature = nullptr;
}

RevolFeature::~RevolFeature()
{
}

int RevolFeature::getRevolId()
{
    return this->revolId;
}

int RevolFeature::getRevolType()
{
    return this->revolType;
}

int RevolFeature::getResultId()
{
    return this->resultId;
}

BaseFeature* RevolFeature::getTargetFeature()
{
    return this->targetFeature;
}

int RevolFeature::getSubShapeIndex()
{
    return this->subShapeIndex;
}

gp_Dir RevolFeature::getRevolDir()
{
    return this->revolDir;
}

gp_Pnt RevolFeature::getRevolLocation()
{
    return this->revolLocation;
}

void RevolFeature::setRevolId(int revolId)
{
    this->revolId = revolId;
}

void RevolFeature::setRevolType(int revolType)
{
    this->revolType = revolType;
}

void RevolFeature::setResultId(int resultId)
{
    this->resultId = resultId;
}

void RevolFeature::setTargetFeature(BaseFeature* targetFeature)
{
    this->targetFeature = targetFeature;
}

void RevolFeature::setSubShapeIndex(int index)
{
    this->subShapeIndex = index;
}

void RevolFeature::setRevolDir(gp_Dir dir)
{
    this->revolDir = dir;
}

void RevolFeature::setRevolLocation(gp_Pnt loc)
{
    this->revolLocation = loc;
}
